package cn.csq;

import java.util.concurrent.*;

/**
 * @author <a href="mailto:csq02198031@alibaba-inc.com">chengshanqing</a>
 * @date 2025/10/23 10:27
 */
public class ThreadImplTest {

}


class A extends Thread{

    @Override
    public void run() {
        System.out.println("A");
    }
}

class B implements Runnable {
    @Override
    public void run() {
        System.out.println("B");
    }
}

class C implements Callable{

    @Override
    public Object call() throws Exception {
        return null;
    }
}

class D {
    public static void main(String[] args) {
        ExecutorService executorService = Executors.newFixedThreadPool(10);

        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(10, 10, 0, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>(100), (r, executor) -> {

        });
    }
}